package com.neu.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neu.domain.Dept;
import com.neu.domain.Registered;
import com.neu.domain.Reglevel;
import com.neu.domain.User;
import com.neu.mapper.DeptMapper;
import com.neu.mapper.ReglevelMapper;
import com.neu.mapper.UserMapper;
import com.neu.query.UserQuery;
import com.neu.service.DeptService;
import com.neu.service.ReglevelService;
import com.neu.service.UserService;

//应该交给spring的容器来管理,而不是springMVC容器

@Service("reglevelService")
public class ReglevelServiceImpl implements ReglevelService{
	@Autowired
	private ReglevelMapper reglevelMapper;

	@Override
	public List<Reglevel> findAllReglevel() {
		
		return reglevelMapper.findAllReglevel();
	}

	@Override
	public Reglevel findLevelById(Integer leveid) {
		return reglevelMapper.findLevelById(leveid);
	}
	
	


}